css: Add an enum for all the style properties
authorBenjamin Otte <otte@redhat.com>
Sat, 31 Mar 2012 03:28:58 +0000 (05:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 17 Apr 2012 06:59:15 +0000 (08:59 +0200)
commit5d8789680ec645f93ccfbde88b0a2fee5dfbf00c
treefdd01d86c8120aa3b9592055110b345bd511b6a3
parent1a9dfab825eb18ee101b579743a47ebb55e06a35
css: Add an enum for all the style properties

So instead of using
  _gtk_css_style_property_get_id (GTK_CSS_STYLE_PROPERTY
        (_gtk_style_property_lookup ("name")))
one can now use
  GTK_CSS_PROPERTY_NAME

Esaier, eh?
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h